package com.xxxx.server.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement // 开启事务, 可以使用@Transactional注解了. 也可以直接在启动类上加这个注释,就不用这个配置类了.
@Configuration
public class TransactionManagementConfig {
}
